package com.arpa.ntocc;

import com.alicp.jetcache.anno.config.EnableCreateCacheAnnotation;
import com.alicp.jetcache.anno.config.EnableMethodCache;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;

/**
 * 程序入口
 * @Author liuyj
 * @Date 2019-11-13 09:53:19
 */
@EnableMethodCache(basePackages = "com.arpa.ntocc")
@EnableCreateCacheAnnotation
@SpringBootApplication
public class NtoccBasicApiApplication extends SpringBootServletInitializer {

    public static void main(String[] args) {
        //初始化全部缓存
        System.setProperty("initAllCache","yes");
        SpringApplication.run(NtoccBasicApiApplication.class, args);
    }


}
